package com.guguskins.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.GuCurrencyRecord;
import com.guguskins.back.entity.vo.PageVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-21
 */
public interface GuCurrencyRecordService extends IService<GuCurrencyRecord> {
    PageVo<GuCurrencyRecord> getPage(Integer pageNum, Integer pageSize, String userName, Integer sourceType, String creatTime);

    List<GuCurrencyRecord> getLike(String userName, Integer sourceType, String creatTime);

    boolean addRecord(Long userId, String steamId, String nickname, BigDecimal amount, BigDecimal originalAmount, int type, int sourceType, Long sourceId, String sourceImage, String sourceName, String desc, String remark);
}
